package product

import (
	"context"
	v1 "devops-super/api/product/v1"
)

// IDeviceV1 设备管理接口
type IDeviceV1 interface {
	GetPageLst(ctx context.Context, req *v1.DeviceGetPageLstReq) (res *v1.DeviceGetPageLstRes, err error)
	Add(ctx context.Context, req *v1.DeviceAddReq) (res *v1.DeviceAddRes, err error)
	Upt(ctx context.Context, req *v1.DeviceUptReq) (res *v1.DeviceUptRes, err error)
	UptStatus(ctx context.Context, req *v1.DeviceUptStatusReq) (res *v1.DeviceUptStatusRes, err error)
	Del(ctx context.Context, req *v1.DeviceDelReq) (res *v1.DeviceDelRes, err error)
	GetOne(ctx context.Context, req *v1.DeviceGetOneReq) (res *v1.DeviceGetOneRes, err error)
	GetOptions(ctx context.Context, req *v1.DeviceGetOptionsReq) (res *v1.DeviceGetOptionsRes, err error)
	SendCmd(ctx context.Context, req *v1.DeviceSendCmdReq) (res *v1.DeviceSendCmdRes, err error)
	GetStateLogs(ctx context.Context, req *v1.DeviceGetStateLogsReq) (res *v1.DeviceGetStateLogsRes, err error)
	GetAstLogs(ctx context.Context, req *v1.DeviceGetAstLogsReq) (res *v1.DeviceGetAstLogsRes, err error)
	GetCopies(ctx context.Context, req *v1.DeviceGetCopiesReq) (res *v1.DeviceGetCopiesRes, err error)
}
